package models;

import constant.ExecuteEnum;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.HashMap;
import java.util.Map;

/**
 * 节点返回
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class AsyncFlowNodeResponse extends AsyncFlowResponse {
    //执行失败是否发送微信报警
    private boolean SendNodeFailAlarmMsg;
    //是否中断整个流程，直接跳出
    private boolean BreakOff;
    //是否忽略当前节点的日志
    private boolean IgnoreNodeTrackLog;
    //执行失败是否发送业务微信报警
    private boolean SendBusinessAlarmMsg;
    //节点内的数据源集合【查询节点才会有值】
    private Map<String, Object> dataPub = new HashMap<>();

    public AsyncFlowNodeResponse(int code, String msg) {
        super(code, msg);

    }

    public AsyncFlowNodeResponse() {
        super();

    }



}
